//
//  XFDLoginAPI.h
//  BlocksKit
//
//  Created by 韩冰 on 2017/11/8.
//

#import <Foundation/Foundation.h>
typedef void(^BackBlock)(void);

#define LOGIN_NOTIFICATION @"LOGIN_NOTIFICATION"
#define REGISITER_NOTIFICATION @"REGISITER_NOTIFICATION"


@class XFDRegisterController, XFDLogInController,XFDCommitSuccessController;

@interface XFDLoginAPI : NSObject

@property (nonatomic, strong, readonly)XFDLogInController *logInCtr;

@property (nonatomic, strong,readonly)XFDRegisterController *registerCtr;

@property (nonatomic, strong,readonly)XFDCommitSuccessController *commitCtr;


/// 角色
@property(nonatomic,strong,readonly)NSString *role;

@property (nonatomic, copy)BackBlock backBlockClick;

+ (instancetype)share;

- (void)logInwithClick:(BackBlock)backBlock;

- (void)logIn;



@end
